/*
 * commons.h
 *
 *  Created on: 03/11/2011
 *      Author: utn_so
 */

#ifndef COMMONS_H_
#define COMMONS_H_

#include <stdint.h>
#include <fuse.h>

#define SECTOR_SIZE	512

	typedef struct {

		uint32_t sectorNumber;
		char sectorContent[SECTOR_SIZE];

	} __attribute__((packed)) DiskSector;


	typedef struct {
		uint32_t clusterNumber;
		DiskSector sectors[8];
	} Cluster;

	struct thread_data {
		int count;
		char * value;
		struct fuse_operations ops;
	};

#endif /* COMMONS_H_ */
